Fermat's minor theorem
When p is a prime number and a is an integer that is not a multiple of p (a and p are prime to each other),
$ a^{p-1}\equiv 1{\pmod {p}}
---
This page is auto-translated from /nishio/フェルマーの小定理. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.